<template>
  <div>
    <child-modal>
      <template v-slot:foo="props">
        <ul>
          <li v-for="(item, index) in props.items">
            {{ item }}
          </li>
        </ul>
      </template>
      <template v-slot:bar="props">
        <ul>
          <li v-for="(item, index) in props.items1">
            {{ item }}
          </li>
        </ul>
      </template>
    </child-modal>
  </div>
</template>
<script>
import ChildModal from './ChildModal.vue';

export default {
  components: {
    ChildModal
  }
}
</script>
<style lang="">

</style>